package com.tyk.bookstore.back.payment.manager.excel.model;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import com.alibaba.excel.enums.poi.BorderStyleEnum;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author tyk
 * @description 书店流水
 */
@Data
@Accessors(chain = false)
@HeadStyle(fillForegroundColor = 9, borderBottom = BorderStyleEnum.THIN)
@HeadFontStyle(fontHeightInPoints = 11)
@ContentStyle(borderTop = BorderStyleEnum.THIN, borderBottom = BorderStyleEnum.THIN, borderLeft = BorderStyleEnum.THIN, borderRight = BorderStyleEnum.THIN)
public class ShopStatementExcelVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @ExcelProperty("ID")
    private String id;

    @ExcelProperty("来源主体标识")
    private String otherSideIdentification;

    @ExcelProperty("来源标识")
    private String sourceIdentification;

    @ExcelProperty("交易值")
    private BigDecimal modification;

    @ExcelProperty("交易性质")
    private String nature;

    @ExcelProperty("交易类型")
    private String type;

    @ExcelProperty("创建时间")
    private LocalDateTime createTime;
}
